package bag.services;

import bag.dao.BookDao;
import bag.dao.impl.BookDaoImpl;
import bag.domain.Book;

import java.util.List;

/**
 * Created by Administrator on 2017/10/9.
 */
public class BookService {
    public List<Book> findAll() {
        BookDao dao = new BookDaoImpl();
        List<Book> list = dao.findAll();
        return list;
    }
}
